/*
 * Copyright (c) 2017. 深圳一七科技. All rights reserved.
 */

package com.yiqi.liebang.feature.news.dependencies.message;



import com.yiqi.liebang.feature.news.contract.MessageContract;
import com.yiqi.liebang.feature.news.contract.VisitorContract;
import com.yiqi.liebang.feature.news.presenter.MessagePresenter;
import com.yiqi.liebang.feature.news.presenter.VisitorPresenter;

import dagger.Module;
import dagger.Provides;

/**
 *      LIJUWEN
 * @email yiyayiyayaoljw@gmail.com
 * @date 2018/7/11 9:27
 */
@Module
public class MessagePresenterModule {
    private final MessageContract.View mView;

    public MessagePresenterModule(MessageContract.View mView) {
        this.mView = mView;
    }

    @Provides
    public MessageContract.Presenter provideMessagePresenter(){
        return  new MessagePresenter(mView);
    }

}
